package com.xj.edu.hotel.service;

import com.xj.edu.hotel.domain.Hotel;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public interface HotelService {
    List<Hotel> findAllHotel();
    int deleteHotel(String id);
    Hotel findById(String id);
    int editHotel(Hotel hotel);
    int addHotel(Hotel hotel);
    List<Hotel> hotelRoom(String cityId, String hotelId);
    List<Hotel> searchHotelName(String hotelName);
    List<Hotel> findAllHotelName(String cityId);
    List<Hotel> findHotel();
    List<Hotel> findhotelType();
    List<Hotel> hotelShow(String hotelType);

    List<Hotel> searchHotelByOrderCount();

    List<Hotel> priceSearch(BigDecimal min, BigDecimal max);

    List<Hotel> hotelView(String cityName);


    List<Hotel> findHotels();

    List<Hotel> searchHotelByOrderTime(Date date);

}
